SpeedTyper
“Every good 3 point shooter is also a good freethrower.”
Something my basketball coach used to tell us
What
I've seen a lot of freeware on the internet that are as simple as what your about to code. The interesting thing is that people actually use those programs (a calandar, a program for learning arithmetic, etc). So this next program (if you make it better) could actually be usefull if you wan't to learn to type fast. Run speedtyper.gb and play a while. Now run speedtypernoplay.gb and look at the good. ¿Get it?
The specifics
Speedtyper is played on a 20,15 screen. The variable current$ holds the current character. The variables x and y are the characters current location on the screen. You can call the NewLetter subprocedure any time you want these 4 variables to be reset. That basically all you need to know.
Your job is to add all variables and subprocs you need until you can get speedtypernoplay.gb to resemble speedtyper.gb (only better :o). Feel free to keep track of more statistics or improve it in any other way (for example more then one character at a time on the screen).
Happy programming!